<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>管理员登录</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #f9f9f9;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
        }

        .login-container {
            width: 100%;
            max-width: 380px;
            padding: 40px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .login-title {
            font-size: 24px;
            font-weight: 500;
            color: #333;
            margin-bottom: 30px;
            text-align: center;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
        }

        /* 输入框和按钮统一盒模型和内边距 */
        .form-control, .btn-login {
            box-sizing: border-box;
            width: 100%;
            padding: 12px 15px;
            border-radius: 4px;
            font-size: 14px;
            outline: none;
            transition: all 0.2s;
        }

        .form-control {
            border: 1px solid #ddd;
            color: #333;
        }

        .form-control:focus {
            border-color: #0070f3;
        }

        .forgot-password {
            text-align: right;
            margin-top: -10px;
            margin-bottom: 25px;
        }

        .forgot-password a {
            font-size: 13px;
            color: #0070f3;
            text-decoration: none;
        }

        .forgot-password a:hover {
            text-decoration: underline;
        }

        .btn-login {
            background-color: #0070f3;
            border: none;
            color: white;
            font-weight: 500;
            cursor: pointer;
        }

        .btn-login:hover {
            background-color: #005cc5;
        }
    </style>
</head>

<body>
    <div class="login-container">
        <div class="login-title">
            管理员登录
        </div>

        <form>
            <div class="form-group">
                <label for="username">账号</label>
                <input type="text" id="username" class="form-control" placeholder="请输入用户名" required>
            </div>

            <div class="form-group">
                <label for="password">密码</label>
                <input type="password" id="password" class="form-control" placeholder="请输入密码" required>
            </div>

            <div class="forgot-password">
                <a href="#">忘记密码?</a>
            </div>

            <button type="submit" class="btn-login">
                登录
            </button>
        </form>
    </div>
</body>

</html>